    <div class="navbar">
        <div class="navbar-inner">
                <ul class="nav pull-right">
                    
                    <li><a href="#" class="hidden-phone visible-tablet visible-desktop" role="button">Settings</a></li>
                    <li id="fat-menu" class="dropdown">
                        <a href="#" role="button" class="dropdown-toggle" data-toggle="dropdown">
                            <i class="icon-user"></i> {$Think.session.login_libraryadmin}
                            <i class="icon-caret-down"></i>
                        </a>

                        <ul class="dropdown-menu">
                            <li><a href="#" data-toggle="modal" data-target="#changePassword">修改个人密码</a></li>
                            <li class="divider"></li>
                          
                            <li class="divider visible-phone"></li>
                            <li><a tabindex="-1" href="{:url('index/logout')}">注销</a></li>
                        </ul>
                    </li>
                    
                </ul>
                <a class="brand" href="index.html"><span class="first">Your</span> <span class="second">Company</span></a>
        </div>
    </div>
    


<div class="modal fade" id="changePassword" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel">修改个人密码</h4>
      </div>
      <div class="modal-body">
<form  name="fm" method="post" action="{:url('index/repassword')}" onsubmit="return check()" class="form-horizontal">


  <div class="form-group">
    <label for="exampleInputPassword1" class="col-md-4 control-label">原密码</label>
    <div class="col-md-4">
  <input type="password" name="old" class="form-control" id="exampleInputPassword1" placeholder="原密码" required>
  </div>
   <div class="col-md-4">
  
  </div>
  </div>

<br>
<div class="form-group">
    <label for="exampleInputPassword1" class="col-md-4 control-label">新密码</label>
    <div class="col-md-4">
  <input type="password" name="new1" class="form-control" id="exampleInputPassword1" placeholder="新密码" required>
  </div>
   <div class="col-md-4">
  
  </div>
  </div>

<br>
  <div class="form-group">
    <label for="exampleInputPassword1" class="col-md-4 control-label">确认新密码</label>
    <div class="col-md-4">
  <input type="password" name="new2" class="form-control" id="exampleInputPassword1" placeholder="确认新密码" required>
  </div>
   <div class="col-md-4">
  
  </div>
  </div>




<div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <input type="submit" class="btn btn-default" value="修改">
    <input type="reset" class="btn btn-default" value="重置">
    </div>
  </div>
  

  </form>
      </div>
      <div class="modal-footer">
<button type="button" class="btn btn-default" onclick="{:url('index')}" data-dismiss="modal">关闭</button>   
      </div>
    </div>
  </div>
</div> 
